<template>
	<order-form
		ref="orderForm"
		page-type="detail"
		:loading.sync="showLoading"
		@return="onReturnData"
	></order-form>
</template>

<script>
    import productionCotton from './mx';
    export default {
        name: 'ProductConfigCotton',
        mixins: [productionCotton],
        data() {
            return {
            };
        },
        methods: {
            onEditBtn() {
                this.$toOtherRouter({
                    name: 'editPrdOrder',
                    query: {
                        id: this.ruleForm.id
                    }
                });
            },
            onReturnData(e) {
                this.ruleForm = e;
            },
            onOperationBar(val1, val2) {
                this.$refs.orderForm.onOperationBarEventOfAddOrEditPage(val1, val2);
            }
        }
    };
</script>
<style scoped lang="scss">
</style>
